/*
 * Frame.h
 *
 *  Created on: May 29, 2010
 *      Author: bubuntux
 */
#ifndef FRAME_H_
#define FRAME_H_

#include <vector>
#include <string>
#include <string.h>
#include <panel.h>
#include "Field.h"
#include "Ui.h"
using namespace std;

class Frame {
private:
	WINDOW *win;
	PANEL *panel;
	vector<Field> resume;
	unsigned int max;
	static const unsigned int TOPRESUME = 6;
public:
	unsigned int y, height, width;
	Field header, scanFile;
	Frame();
	void init();
	void addLine(string line);
	Frame(int new_height, int new_width, int new_y, int new_x);
	void print();
	virtual ~Frame();
};

#endif /* FRAME_H_ */
